add spirit header, fix syntax