added grain statistics