changing layout approach