removed unused testing code