Cast new_challenge datatype to int