library and fragments