add resouce.