extract syntax into separate file