Adding code for Sim Pencil AI