add weight to assignment. New database needed