removed exit call if invalid contrast is supplied