handle unexpected inputs better
close #10: get/set ld_seed