changing accountInfo to static method