added code for NBC