completes activity