made SETCLASSNAME generic