takes from correct stack