rm declaration class