Added functional react, react1, when, when1