Your deck has clowns on both sides :) not only are the colors crazy there are two C7s!! I feel like I would cash A D first. If RHO has the Q and it's coming down it, looks like either playwill work. If you pitch, E may ruff and exit a D , you may lose a second H if W started with JXX D. cashing the AD first prevents this. Anyhow I'd ruff the C9 with the 8 or 10....probably wrong but 3NT needs a lot of luck to make with the almost certain S lead. 5D isn't a terrible place to be at IMPs