How to create an instructor machine