line object instead of data array