variable remain put into function batttogo