Composite example for if statement.