Added default case to switch in go()