destructuring and refs. plus a bit of atoms and macros