change methods to static