add activity methods and tests