added malloc`