In the Ramayana Hanuman changes shape several times. For example, while he searches for the kidnapped Sita in Ravana's palaces on Lanka, he contracts himself to the size of a cat, so that he will not be detected by the enemy. Later on, he takes on the size of a mountain, blazing with radiance, to show his true power to Sita.[21] Also he enlarges & immediately afterwards contracts his body to out-wit Sirsa, the she-demon, who blocked his path while crossing the sea to reach Lanka. Again, he turns his body microscopically small to enter Lanka before killing Lankini, the she-demon guarding the gates of Lanka. He achieved this shape-shifting by the powers of two siddhis; Anima and Garima bestowed upon him in his childhood by Sun-God, Surya.