removed hide and show CCNum at beginning of function