damn, that was some rough debugging. still a wip, goddammit.