converting all the methods to static