WOrk on the query part, get to know the working