still working on pan