made private method public