add queue 8 solution