Add simple query method