Assignment 6 of NBI