adds entry to queue