Daa, remove -end in the final of statement