done with mean, contains data.frame builder function