reverted back to older code looking for a work around with i.e.