use memset instead of bzero