added typing pathway to pipeline code