removing now unused functions. nw.