added ability to declare classes