changed Dictionary to Pais