Don't shadow 'g' variable in steady_state()