removed method only used by unittests