Moved val now to render