incrementing frequency numbers