offline library events manipulation