changed cornertables and stuff, works experimentally