function of measuring cylinder