updated to support arm