using global and theme's layouts