add method back since it is used in tests