add planning queries