 A few meters to the northeast and southeast are two sandstone structures known as libraries, with large side windows and laterite bases.Enclosing the tower and libraries is a rectangular courtyard measuring roughly 42 by 36 meters and having galleries on all four sides.On the court's eastern side is a gopura, or gate, reflecting the temple's orientation to the east.