it has an octagonal apse and three naves with a wooden roof