add scope to the extended model