temple on the edge of sea