added header to make user of malloc