trying to get constructor classes to work