implemting  single-line row