Simplify the data querying