eight queue method 3 impl