made method public to allow overriding