make classes more auto