ensure we return in all functions