This method was unnecessary and I should get rid of it. Put in the proper type errors when I need them. I will need them for this more than other projects because the dpg11 give no feedback, so wrong values will pass through without throwing any error.