Trying to make this more readable to myself.