removing console.logs and debugging examples