Removing var g