shortened code by using Chunk everywhere