merge with Gray