Working line array; //TODO: sort