updated unsafe
updated secure string