added scope for ordering