finished adding instructions in rust