removed dependency (internalized cec)
renamed class
added synchronized