Removed memset and continue as they were unneccessary