architecture detection