removed commentary code
Changed activity query signature