something I wrote on zedboard, silly but works