defined library purpose