removing header cruft, in case it messes up automated submission
working version of complete.R