removed debug lines - console.log()