changed the democonstantize method