adding mote specific graph code