library setup