added basic ses implementation