beginning to make median stats