Metal value function working to 100 %