function documentation extend