added all the basic functions for the instructions :)