raw Model class working