correct usage of common functions