Added check for nameBuilder

formatting