simplified example and closed a div