working through layout