Added first code for chunks