Merge pull request #1 from manaspaldhe12/master

Pause and play, compliance mode
as function