cuts stats function and box plot