Merged (and removed Malloc for size_t in mget)