Hmm i can't seem to manage to find an elegant way of doing this... anyone have any ideeas?