transfered grey color to obstacle