Merged Chad's Queue Functionality