made public method more sensible