added interactive query to console formatter