add smartrep and help-fns+