able to query items, need to work on conditionals