adding pictureplayer methods