Kidong: added Query statment for appointment thing