my first code of class