add some methods about activity