using pure for layout now