adding instruction functions (untested), adding name attribute to instructions