first working skeleton for fold