use queue for conversion