fixed minor bug with adding instructions