upgraded for latest temple