add activity filter function