modified version of piplay 0.8 beta 3