finalize header files to include weight for our graph