rewrite with ember app kit