some practice code for NodeJS