rmdeck implemented