getStatus method added