adding time to displacement.html