added proper 0-point
corrected max time calculation
Merge branch 'backend' into gh-pages