implement checks for archived