change into class