remove repetitive print in new_stack