I should figure out how to do this better