more work
single rendering version working