made one method out of 2 of callwebservice