snippets on RMD and helper packages