using enum for screen switch