uncommented main code :)