basic structure of class