switched to Mirf library