return boolean when doing activity