REMOVED unused code