add weight calculations