Added code for NB project