remove (now) unused functions