Added resource display code.