changes from node beginner book