more consistent syntax in functions