EPI alignment code works well