added second view and intent