time expression changed. interval parameter added