almost done.  Need implement pan.