@jcredding any better suggestions that this big conditional here?