implemented GetStatus method