trying to capture callback as an option before the PDOException