added subWIndows for scopes