removed spurious function