adding line between two points