functional submit.
console.log cleanup