trying to figure out how to declare and define classes