add check status at end