update if conditions
update tests