modified statistics Code