Replaced style by layout