moved display_status code to helper