made a method public