now formatting references
completed parse_layout
updated notes