add resource binding