Added Palace Code