added if examples