default callback function for querying bmeg