dynamic memory management added (malloc,realloc,free)