Removing console.log and adding a success message.