Change NSGS get to a promise