add helper to get status