edit class instruction