extra class for teach implementation .