Debugged. Kinda