Added convert method