Adding custom query drop prototype