the function Chunk works fully and so far flawlessly, not yet tested with jasmine