started with function section and created recursive example