this seems to work. i hope it works. oh god...