library improvements