used class provided by teacher