same technique for line