basic adding and querying working