adds singleton to page