changed horizontal and vertical lines