moving header into layout (but need to make in more idiomatic... less stinky)