full pipeline. doesnt work though