adding navigation control hooks