Today I found myself writing something that feels...hacky. Very hacky, actually. But it does work, and that`s more than can be said for any of the "clean" solutions I could come up with.