Sintactic errors solved