update restored function
Merge pull request #2 from Microx/master

update restored function