adds all sub instructions