removed uncessary scopes