added switch condition frame

option 1-5 added
added functionality for option 1
added functionality to option 3 - view