adjusted cycling and removed typos