Gd: having a placeholder for query