make in-place function added