working on adding periodicity to cylinder