Working Version with AJAX Connector.