Formatting queue implementation