converter function changed