some updates to the SES code