allow choosing p in sim for drawing