is determining sex through chromosomes a random genetic event?