add pictogram generation code (in progress)