remove constant add function