Popping function completed