added queues and safe formatters