use instance methods where feasible ==> data.min(), data.max()