removed unused code to attic