updated figure functions. added new figs