add class via manager