added the append field on query