Factored out minute calculation