Implemented hammer routine