updated class methods