Replaced searchPictureData and processPirctureData with getNewPictureData
Delete unnecessary line and added some syso