remove "static" function name. Closes #794