Pipeline now works correctly