functions work even better now. It's still an amateur bunch of nonsense,
but we're getting there.