adding simple piglow functionality