finish carnatic rewrite