updated to include render options