Added version 2

change method from java to web