add resource compent