added makeLine constructor