simplified arch, rewritting