working if requests come in sequentially