getting closer to chained processes