updated library methods