console.log put into function batttogo