common return for a function