bug fixes
bug fixes
added rand dist to pipeline