This is to measure payments