ew, that is ugly. (but it works!)