implemented better view and instruction flow
implemented better view and instruction flow