moving arrinfo into a separate file