removed insecure methods