cleaned up extra console.logs.