updated class attempt