deleted empty runPrims function