putting most elements in place