the streamtools pattern