add class pool