doing with class eval