Added code to create_challenge()