more mods to ifelse