add main view, attempt to make it work