How will you determine hardness of a given substance