Added typedef to countour