Correct all states to status
source: Update get_random_number
source: Add implemention for BP