adding fold command