added std flag