made changes in gh_repl() and started adding the uniform array stuff to gh_