implement vertical line