polar basic implementation almost done