WIP integrate the panel API