Added parameter binding in query