cover both in library and in line cases.