refs #3, change queries to statements in activity-model