Adding function for query promotion and place