layouting and working on data object