updated jwi to new version
removed extra method
added exception handling