first version of simple line working with full pipeline