A castle like church in Haddington