reporting

add function reporting
Merge remote-tracking branch 'origin/master'

Conflicts:
	main.php