gray scale convertion added