adds message get and set instructions