allow procs to be passed into scopes