Wrapped the prep value stuff in an object

I’m hoping this will be a little bit cleaner and easier to edit