changed the constants to be ints instead of strs
added support for GOTO message