just a wrapper for standard malloc() and free(), to be continued...