minor refactor, cost alternative method, cost time rule fix