add get metal z function in track