holy shit. so much hack. for the love of god, dont read this code...