add function pause

Changes to be committed:
	modified:   lib/base.lib