trying to have class