readded the manual memset