Added tpe hint,r emoved obsolete line