added convert.cpp