wip
semi working pipeline