Replacing repeatkeys with dynamic rendering