try with resources?