distinguish between metals and non metals