https://github.com/ecomm-Labs/catwalk/blob/84bcf1d41f564d28d09670d5f97a5eb3b712c8f7/client/src/components/Questions/index.jsx#L86-L108 these functions could be altered to be combined to use a single function that handles the same behavior type