little modification to persistence calculation