duration_cast fixed
RestrainedModel removed
test tuned