used for weighing an object.