add new feature for set layout