get rid of unused code