using hash instead of which to see if we have a command