add query to mobel_base