- convert navigation functions to a class with wrapper functions