compatible with ecos 1.0.2