add turn grey level function