added visible and by position scopes