a lot of undocumented code