scope now calculated, so that it is dynamic