Added Vit's prepared query function
added the file of the prepared query function