update splitter function to work on monthly summaries