nodejs handlebars error TypeError: this.set is not a function
<p>hey smart people that want to help me!</p>

<p>im a nodejs beginner and i want to use handlebars as my template engine...
this is my first nodejs application, i follow this guide:
<a href="https://www.youtube.com/watch?v=m5ribwPpIPw" rel="nofollow">https://www.youtube.com/watch?v=m5ribwPpIPw</a></p>

<p>i use cloud9 as my ide..</p>

<p>i have only one js file its realy everything:</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var express = require('express');
var app = express();
var hbs = require('express3-handlebars');

app.engine = ('handlebars', hbs({defaultLayout: 'layout'}));
app.set = ('view engine', 'handlebars');

app.get('/', function (req,res){
  res.render('index');
});

app.use('/views',express.static('views'));

app.listen(process.env.PORT || 3000, process.env.IP || "0.0.0.0");</code></pre>
</div>
</div>
</p>

<p>im doing everything that the guide refernce me to do... 
<a href="http://i.stack.imgur.com/RvbCe.jpg" rel="nofollow">this is my folder tree:</a></p>

<p>update: this is the error that i get.. forgot to put it here:</p>

<p>/home/ubuntu/workspace/node_modules/express/lib/application.js:421
  return Boolean(this.set(setting));
                      ^</p>

<p>TypeError: this.set is not a function
    at EventEmitter.enabled (/home/ubuntu/workspace/node_modules/express/lib/application.js:421:23)
    at EventEmitter.lazyrouter (/home/ubuntu/workspace/node_modules/express/lib/application.js:139:27)
    at EventEmitter.methods.forEach.app.(anonymous function) [as get] (/home/ubuntu/workspace/node_modules/express/lib/application.js:478:10)
    at Object. (/home/ubuntu/workspace/server.js:8:5)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.runMain [as _onTimeout] (module.js:441:10)
    at Timer.listOnTimeout (timers.js:92:15)</p>