class should have been public