use ruby queue instead