unsecure version for testing