layout with variables