improvements in prepareSE