adding instructions given in the class