changed the flow of storyboard