just keep the code in the hash, the string can be built in the methods