changed getStatus() prototype