changed how arch is set