corrected mistake supermarket queue