Implemented divisions feature and API call for random_challenge