functions of quality parameters