Added a get_status method