starting ncc functions