changed default scope to use block as per deprecation warning