improve library style