moved shortcut setup to separate function