measurement changed. works with factory method and instantiating.