Removed unnecessary visibilty for parse_chunk function