basic layout with working local storage