how to build a simple gate Archive