extacted class