starting to code the flxrecord for the console.