use converters in utils.cpp as well