rough cut of running batlab