The roofs of temples had mostly been flat.Possibly due to this fact, Kalidasa in Raghuvansam described this temple as ‘Niketana’.The palace of the king had been in the vicinity of the temple. In the early part of the Meghadutam (Purva Megha),Kalidasa gives a fascinating description of the Mahakala temple.