Which are the two factors that determine that amound of friction?