working on end page activity