first commit, code reference from learning Node book