Fix initial value detection & example