method public