don't reference $arch, it's not working