rename main.R to util.R