generalized layouting and added placeholder