updated build fns