add private method