Finalised adding stat values and added some commenting on each action function