adding multi function and test
Merge origin/master

Conflicts:
	index.php