Added syntax validation