Added all kinds of jazz for Layout Manager