changed alerts to console.logs
removed example in favor of demo