committing attempt at making piping work well - not currently working