revert change to function declaration in #79