Partial commit. Added the query method