added myMalloc and free