the temple was rebuilt several times