decreasing runtime of demo