figuring out metals error