added named query example with parameters