yeah, mycleanup(void) was reeeeally complicated.