Roles out of document.write