started working on functionals again