Changed framework from an object to static method