finalize with layout manager