Added begin form, wrapped compound procs around that, and added cond form