completed stripping all the polhemus boilerplate