Updated to include all stat changes in a seperate function