Modified document to inlcude variable height