Removed unneeded memset from init function