added recurrence pattern and interface