main view and compose view finished