declare public method