Use PiTable class