general library maintenance