implemented alert queues as arrays