removing forgotten legacy code