Reduce forM_ duplication