added code for nano server