added try w/ resources