change memset to set first element of descr. array as 0