adding head declarations to set up document