moved syntax code to direct file