get status fn