redefined key to f8
new key bindings, renamed some functions for consistency