gc: finally make it work