changed to newer on event handler and added nav example