6.3 General functions