adding status method