fixed bad extends statement