use strings instead of magic numbers for states