work on scope instance count