made method public