added section on resume to readme
updated behaviour of resume function