implemented conversion with complex pointer algebra
function body output implemented