separate out checks.R