cliening code from console.logs