updated to add check configuration