added queries to nucleus