add function prototype for getStatus