errors with deparse; best refactor.