allow scopes to be passed