Note to self: make it more readable.