refactoring Mojo::Shortcut to use it more efficient way