some changes of class defined