A flexible AR-based training system for industrial maintenance