improve pan