There had been buildings at the rock top earlier and these are what remains now.Hattikuchchi Viharaya