rip out unused parts of gem