move to def type and multiple instances possible