this is as good as it's gonna be
also i had to fix everything after it merged