implemented timeout and json methods
update version