exception handling and parameters
references