Updated docs, added repeat_count parameter