Pan function #2
Enhancement