adaptation for ember