use try method to query data