draw lines, resizes