Trying to make this work

This shit is utterly complicated for such a stupid requirement.