first have a thick bottomed vessel and put the sugar on it..add water till the sugar get soaks.. now let it melt and syrup gets formed..the end point is the sugar syrup when dropped on a plate it sould stand like a pearl.

now add the gram flour and ghee simultaneously...also you should keep on stirring...
when it starts putting on bubbles and wind up and come..this is the point to shift to a ghee spread plate. let it cool for 5 minutes...with a ghee applied knife cut it..but dont take it from the plate..after it got set..you can remove and serve..

literally it takes 15 minutes to prepare....but to get set and get cooled it gets nearly 30 minutes..
enjoy it hot..