Adding more code to stats