Without using the mirf library