queue repository