ported cube sample