Changed function name to chance