added ++fil and ++swap