sim_length not utilized as it should be...