add get status method