adds missing then