made smooth lines with bezier curve