updted finite and swapDisc example files