unused code removed