unused code cleanup