more work on implementing resource rendering