Change return value in_chunk method