Passing the information to the next view