a simplied GFS implementation