updated to support arm64