added getPicture from desktop function