functions and tests for fifth, as well as some verison stuff for genie.