This code is so fucked up right now. Will try to fix soon.