adding number of cycles