print formating edited
partial legality and instruction not known added