notes and switch to cond