in the time of pallibana perumal, it was decided to convert the neelamperoor shiva temple into a buddhist monastery. it is believed that the ten brahmin families (later known as pattiyillam pottimar) came to vazhappally by shaking the shiva linga of the temple of neelamperoor and then merged with the existing shiva temple in vazhappally. the shiva lingam brought from neelamperoor was first placed in the devalokam at north part of vazhappally gramam. later, when they tried to shake the shiva linga but was unable to do so, parasurama appeared to the grieving brahmin family and offered him the shiva linga he had worshiped and advised him to build the temple on the ardhanariswara concept. he built a huge shrine for the shiva linga and the parvati idol.