ugh i wish there were a better way :(