renamed a private method