added synchronous method instructions of use

I have also made little change to the asynchronous method