added instruction parsing