weighted code done. ready to make exp