Sample code for Pandell