add repeating occurences functionality