custom query for movie