Return the state information from loop_init() in the correct way. This means