set seed for random num gen and change #define