new secure dart code