created PPB widget with functionsl