reverted jensen's changes to MY code.