Added rand for FindPicture