use enum constants rather than strings for instructions