实现#27，#30.