Sample niftyhybrid code