make handy method for exactly two arrays