refactoring to add gasnet code