Adding public method refresh()