fix #418 - update function declaration to match style guide