first approach to node js