Got the for loop working. Now trying for da monad