added a if example