added min,max,init-step keywords and output at specified points