made Action just an enum. fixing things