added query for completion date