added some layout controls