Add some code about status