So I was just shown ORMs, so I feel like a rewrite is in order