adding named query for Job