Removed unused ptr