remove comments in draw function