outputwriter option added
reamde examples added