set contents on load