Actually- to Jason's point I don't really know how this makes the above easier... You should probably just map the given value directly into the constants above.