added onResume
commented out testing