Ugh, are we sure this is the best way to do this?