remove a private method