rm unused (and outdated) code