preparing to run bw simulation