rm unused code from sample module