going through the node beginner book (http://www.nodebeginner.org/)