removed NumInstances dependency

Ready to merge