fixed the magic static method