modified timer calculations

matched previous (RAILS) version