updated class tags to int constants