Completed detectArchitecture()