custom queries as mapped queries