removed ngs and replaced it with utility throughout the code