some shit that i called bugAlgorythm