I have the following code and I think one would like to use pipes, but I cant figure out how - I have tried a ton of different approaches, but it appears I am missing a key