add queue and toChar fns