adding basic support for render targets