removed a piece of unused code