implemented getStatus