Layout parameters variable refactored