non-GC solution
passes GC test