added views, setting up return intent