uncommented main parts, lol