use converter function