downsize data files; more code comments