everything works - two classes