searching picture and setting it working