change R analysis and add queue based simulations