added on demand resource for message views