changes to layout manager