using enum for shotstae instead of string