basic fold machinery